package VirtualStatic;

import java.awt.Font;
import org.newdawn.slick.Color;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.TrueTypeFont;
import org.newdawn.slick.state.BasicGameState;
import org.newdawn.slick.state.StateBasedGame;

public class MainMenuState extends BasicGameState {
	
	private int stateID;
	TrueTypeFont font;
	
	
	/** Costruttore del MainMenuState */
	public MainMenuState(int id) {
		super();
		this.stateID = id;
	}
	
	public int getID() {
		return stateID;
	}
	
	public void init(GameContainer gc, StateBasedGame sbg) throws SlickException {
		font = new TrueTypeFont(new java.awt.Font("Nikodecs", Font.PLAIN, 18), false);
	}
	
	public void render(GameContainer gc, StateBasedGame sbg, Graphics gh) throws SlickException {
		gh.setColor(Color.white);
		gh.setFont(font);
		gh.drawString("12:43", 600, 300);
		/*
		gh.drawString(nameplayer, 80, y);
		gh.drawString(Integer.toString(coins), 560, y);
		gh.drawString("Score: " + Integer.toString(score), 670, y);
		*/
	}
	
	public void update(GameContainer gc, StateBasedGame sbg, int delta) throws SlickException {
	}
	
}
